package cn.trkj.server.util;

import java.sql.Connection;
import java.sql.ResultSet;

/**
 * @author: wyg
 * @date: 2023/11/9
 * @description:
 */
public class Test1 {
    public static void main(String[] args) {
        Connection conn = null;
        try {
            conn = DBUtil.getConnection();
            ResultSet res = DBUtil.executeQuery(conn, "select  * from  air_file");
            System.out.println("res = " + res);
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            try {
                DBUtil.close(null, conn);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }

}
